import {markRaw} from 'vue';

const files = import.meta.globEager('./*.vue')
const modules = {}
Object.keys(files).forEach(path => {
  const filename = path.replace(/^\.\/(.*)\.\w+$/, '$1');
  modules[filename] = files[path].default || files[path]
})

export default markRaw(modules)
